
<?php 
if(isset($receieve_lists) && $receieve_lists){
foreach ($receieve_lists as $num => $receieve_list){?>
<tr>
<td><?php echo $num+1+$current_page ?></td>
<td><?php echo $receieve_list['recieve_time'] ?></td>
<td><?php echo $receieve_list['id'] ?></td>
<td><?php echo $receieve_list['poid'] ?></td>
<td> <?php echo supplierskus::getNameById($receieve_list['supplier']);?></td>
<td><?php if($receieve_list['export_tax_rebate']==0){
        echo '非出口退税';
    }else{
        echo '出口退税';
    } ;?></td>
<td><?php echo $receieve_list['sku'] ?></td>
<td><?php echo $receieve_list['sku_name'] ?></td>
<td><?php 
    $storeName = '';
    $stores = Kohana::$config->load('vmi_warehouse')->as_array();
    isset($stores[$receieve_list['store']]) && $storeName = $stores[$receieve_list['store']];
    echo $storeName;
?></td>
<td><?php 
    $body = '';
    $body_arr = Kohana::$config->load('enterprise_dominant')->as_array();
    isset($body_arr[$receieve_list['enterprise_dominant']]) && $body = $body_arr[$receieve_list['enterprise_dominant']];
    echo $body;
?></td>
<td><?php echo $receieve_list['sku_standard'] ?></td>
<td><?php echo $receieve_list['storage_position'] ?></td>
<td><?php echo Erpuser::nick_by_id($receieve_list['purchase_id']); ?></td>
<td><?php echo $receieve_list['purchase_quantity'] ?></td>
<td><?php echo $receieve_list['arrival_quantity'] ?></td>
</tr>
<?php }?>
<?php }?>